import { EntitySchema } from '@mikro-orm/core';

export class ImsYzdKpDailySign {
  id!: number;
  dId!: number;
  userId!: number;
  time?: string;
  uniacid!: number;
}

export const ImsYzdKpDailySignSchema = new EntitySchema({
  class: ImsYzdKpDailySign,
  properties: {
    id: { primary: true, type: 'number' },
    dId: { type: 'number' },
    userId: { type: 'number' },
    time: { type: 'string', length: 255, nullable: true },
    uniacid: { type: 'number' },
  },
});
